import React, { Component, } from 'react'
import { NavigationContainer } from '@react-navigation/native'
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'
import Team from './bcumusic/Team';
import Login from './bcumusic/Login'
import Main from './bcumusic/Main'
import Playing from './bcumusic/Playing'
import Like from './bcumusic/Like'
let Tab = createBottomTabNavigator()
export default class App extends Component {

    render() {
        return (
            <NavigationContainer>
                <Tab.Navigator>
                    <Tab.Screen name="用户中心" component={Login}></Tab.Screen>
                    <Tab.Screen name="主页" component={Main}></Tab.Screen>
                    <Tab.Screen name="正在播" component={Playing}></Tab.Screen>
                    <Tab.Screen name="我喜欢" component={Like}></Tab.Screen>
                    <Tab.Screen name="制作团队" component={Team}></Tab.Screen>

                </Tab.Navigator>
            </NavigationContainer>
        )
    }
}
